//
//  LogOutCell.m
//  Korea
//
//  Created by 崔剑 on 15/9/6.
//  Copyright (c) 2015年 KoreaGo. All rights reserved.
//

#import "LogOutCell.h"
#import "Header.h"

@implementation LogOutCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        
        self.logOutLabel = [[UILabel alloc] init];
        self.logOutLabel.textAlignment = NSTextAlignmentCenter;
        self.logOutLabel.text = @"退出登录";
        [self.contentView addSubview:self.logOutLabel];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    
    CGFloat width = self.contentView.frame.size.width;
    CGFloat height = self.contentView.frame.size.height;
    
    self.logOutLabel.frame = CGRectMake(0, 0, width, height);
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
